package com.morehair.bean.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Address {
    private Integer id;

    private String name;

    private Integer userId;

    private Integer provinceId;

    private String provinceName;

    private Integer cityId;
    private String cityName;

    private Integer areaId;
    private String areaName;

    private String address;

    private String mobile;

    private Boolean isDefault;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updateTime;

    private Boolean deleted;


}